home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Think Class Libraries / WASTE TCL 2.0b2 / WASTE VA / Source / CApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-06  |  1.5 KB  |  67 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CApp.h
  3.  
  4.             Header File For CApp Application Class
  5.     
  6.     Copyright Â© 1995 Dan Crevier. All rights reserved.
  7.  
  8.     Generated by Visual Architectâ„¢ 9:19 AM Mon, Nov 6, 1995
  9.  
  10.     This file is only generated once. You can modify it by redefining
  11.     in the placeholder definitions and adding any new methods and
  12.     data members you wish.
  13.  
  14.     If you change the name of the application, a fresh version of this
  15.     file will be generated. If you have made any changes to the file
  16.     with the old name, you will have to copy those changes to the new
  17.     file by hand.
  18.  
  19.  ******************************************************************************/
  20.  
  21. #pragma once
  22.  
  23. #include "x_CApp.h"
  24.  
  25. #include <CDialog.h>
  26.  
  27. class CApp : public x_CApp
  28. {
  29. public:
  30.  
  31.             TCL_DECLARE_CLASS
  32.             
  33.             CApp(void);
  34.  
  35.             void    ICApp(void);
  36.             
  37.             virtual ~CApp();
  38.             
  39.     
  40.     virtual    void     ForceClassReferences(void);
  41.     virtual    void     DoCommand(long theCommand);
  42.     
  43.             // Remove this function if you do not have
  44.             // multiple document types
  45.  
  46.     virtual    OSType     GetDocTypeFromDialog(CDialogDirector *dialog);
  47.     
  48.     virtual void SetUpMenus(void);
  49.  
  50.  
  51. protected:
  52.     virtual void MakeSwitchboard(void);
  53.     virtual void MakeDesktop(void);
  54.  
  55. };
  56.  
  57. //    File Types
  58. //
  59. //    Change the #defines below to reflect the file types
  60. //    your application actually creates or opens
  61.  
  62. #define    kNumFileTypes    1
  63. #define    kFileType1        'TEXT'
  64. #define kFileType2        'TEXT'
  65. #define kFileType3        'TEXT'
  66. #define kFileType4        'TEXT'
  67.